package cn.itcast.service;


import cn.itcast.domain.Brand;
import cn.itcast.entity.PageResult;

import java.util.List;
import java.util.Map;

/**
 * brand业务逻辑层
 */
public interface BrandService {


    public List<Brand> findAll();


    public PageResult<Brand> findPage(int page, int size);


    public List<Brand> findList(Map<String, Object> searchMap);


    public PageResult<Brand> findPage(Map<String, Object> searchMap, int page, int size);


    public Brand findById(Integer id);

    public void add(Brand brand);


    public void update(Brand brand);


    public void delete(Integer id);

}
